Class EPPFeeTrnData

java.lang.Object
com.verisign.epp.codec.fee.v1_0.EPPFeeTransformResult
com.verisign.epp.codec.fee.v1_0.EPPFeeTrnData
All Implemented Interfaces:
EPPCodecComponent, Serializable, Cloneable

public class EPPFeeTrnData extends EPPFeeTransformResult
Fee Transfer Result Extension that enables a server to pass the resulting fee for the transfer command.
See Also:
  • Field Details

  • Constructor Details

    • EPPFeeTrnData

      public EPPFeeTrnData()
      Default constructor for EPPFeeTrnData.
    • EPPFeeTrnData

      public EPPFeeTrnData(String aCurrency, EPPFeeValue aFee)
      Constructor for EPPFeeTrnData that takes the required currency parameter along with a single fee.
      Parameters:
      aCurrency - Currency of the fee
      aFee - A single fee value
    • EPPFeeTrnData

      public EPPFeeTrnData(String aCurrency, List<EPPFeeValue> aFees)
      Constructor for EPPFeeTrnData that takes all transfer request response attributes.
      Parameters:
      aCurrency - Currency of the fee
      aFees - List of fees
    • EPPFeeTrnData

      public EPPFeeTrnData(String aCurrency, EPPFeePeriod aPeriod, List<EPPFeeValue> aFees, List<EPPFeeCredit> aCredits)
      Constructor for EPPFeeTrnData that takes all transfer query response attributes.
      Parameters:
      aCurrency - Currency of the fee
      aPeriod - Transfer period of transfer request
      aFees - List of fees
      aCredits - The credits to set. Set to null for no credits.
  • Method Details

    • getLocalName

      protected String getLocalName()
      Returns the local name "trnData" for the transfer data.
      Specified by:
      getLocalName in class EPPFeeTransformResult
      Returns:
      Local name "trnData" for the transfer 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.