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

public class EPPFeeDelData extends EPPFeeTransformResult
Fee Delete Result Extension that enables a server to pass the resulting credits for the delete command.
See Also:
  • Field Details

  • Constructor Details

    • EPPFeeDelData

      public EPPFeeDelData()
      Default constructor for EPPFeeDelData.
    • EPPFeeDelData

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

    • getLocalName

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

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