Class EPPFeeRenData

  • All Implemented Interfaces:
    EPPCodecComponent, java.io.Serializable, java.lang.Cloneable

    public class EPPFeeRenData
    extends EPPFeeTransformResult
    Fee Renew Result Extension that enables a server to pass the resulting fee for the renew command.
    See Also:
    Serialized Form
    • Field Detail

      • ELM_LOCALNAME

        public static final java.lang.String ELM_LOCALNAME
        XML local name for EPPFeeRenData.
        See Also:
        Constant Field Values
      • ELM_NAME

        public static final java.lang.String ELM_NAME
        XML root tag for EPPFeeRenData.
        See Also:
        Constant Field Values
    • Constructor Detail

      • EPPFeeRenData

        public EPPFeeRenData()
        Default constructor for EPPFeeRenData.
      • EPPFeeRenData

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

        public EPPFeeRenData​(java.lang.String aCurrency,
                             java.util.List<EPPFeeValue> aFees,
                             java.util.List<EPPFeeCredit> aCredits,
                             java.math.BigDecimal aBalance,
                             java.math.BigDecimal aCreditLimit)
        Constructor for EPPFeeRenData 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 "renData" for the renew data.
        Specified by:
        getLocalName in class EPPFeeTransformResult
        Returns:
        Local name "renData" for the renew data.
      • getNamespace

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