Class EPPFeeTransfer

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

    public class EPPFeeTransfer
    extends EPPFeeTransform
    Fee Transfer Extension that enables a client to pass the expected fee for the transfer command.
    See Also:
    Serialized Form
    • Field Detail

      • ELM_LOCALNAME

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

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

      • EPPFeeTransfer

        public EPPFeeTransfer()
        Default constructor for EPPFeeTransfer.
      • EPPFeeTransfer

        public EPPFeeTransfer​(EPPFeeValue aFee)
        Constructor for EPPFeeTransfer that takes a single fee.
        Parameters:
        aFee - A single fee value
      • EPPFeeTransfer

        public EPPFeeTransfer​(EPPFeeValue aFee,
                              java.lang.String aCurrency)
        Constructor for EPPFeeTransfer that takes a single fee and the optional currency.
        Parameters:
        aFee - A single fee of the transfer command
        aCurrency - Currency of the fee
      • EPPFeeTransfer

        public EPPFeeTransfer​(java.util.List<EPPFeeValue> aFees,
                              java.lang.String aCurrency)
        Constructor for EPPFeeTransfer that takes all attributes.
        Parameters:
        aFees - List of fees
        aCurrency - Currency of the fee
    • Method Detail

      • getLocalName

        protected java.lang.String getLocalName()
        Returns the local name "transfer" for the transfer extension.
        Specified by:
        getLocalName in class EPPFeeTransform
        Returns:
        Local name "transfer" for the transfer extension.
      • getNamespace

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