Class EPPFeeUpdData

java.lang.Object
com.verisign.epp.codec.fee.v1_0.EPPFeeTransformResult
com.verisign.epp.codec.fee.v1_0.EPPFeeUpdData
All Implemented Interfaces:
EPPCodecComponent, Serializable, 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:
  • Field Details

  • Constructor Details

    • EPPFeeUpdData

      public EPPFeeUpdData()
      Default constructor for EPPFeeUpdData.
    • EPPFeeUpdData

      public EPPFeeUpdData(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(String aCurrency, List<EPPFeeValue> aFees, List<EPPFeeCredit> aCredits, BigDecimal aBalance, 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 Details

    • getLocalName

      protected 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.
    • getNamespace

      public String getNamespace()
      Returns the XML namespace associated with the EPPCodecComponent.
      Returns:
      XML namespace for the EPPCodecComponent.