Package com.verisign.epp.codec.fee.v1_0
Class EPPFeeTransfer
- java.lang.Object
-
- com.verisign.epp.codec.fee.v1_0.EPPFeeTransform
-
- com.verisign.epp.codec.fee.v1_0.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 Summary
Fields Modifier and Type Field Description static java.lang.String
ELM_LOCALNAME
XML local name forEPPFeeTransfer
.static java.lang.String
ELM_NAME
XML root tag forEPPFeeTransfer
.
-
Constructor Summary
Constructors Constructor Description EPPFeeTransfer()
Default constructor forEPPFeeTransfer
.EPPFeeTransfer(EPPFeeValue aFee)
Constructor forEPPFeeTransfer
that takes a single fee.EPPFeeTransfer(EPPFeeValue aFee, java.lang.String aCurrency)
Constructor forEPPFeeTransfer
that takes a single fee and the optional currency.EPPFeeTransfer(java.util.List<EPPFeeValue> aFees, java.lang.String aCurrency)
Constructor forEPPFeeTransfer
that takes all attributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getLocalName()
Returns the local name "transfer" for the transfer extension.java.lang.String
getNamespace()
Returns the XML namespace associated with theEPPCodecComponent
.-
Methods inherited from class com.verisign.epp.codec.fee.v1_0.EPPFeeTransform
addFee, clone, decode, encode, equals, getCurrency, getFees, hasCurrency, hasFees, setCurrency, setFees, toString
-
-
-
-
Field Detail
-
ELM_LOCALNAME
public static final java.lang.String ELM_LOCALNAME
XML local name forEPPFeeTransfer
.- See Also:
- Constant Field Values
-
ELM_NAME
public static final java.lang.String ELM_NAME
XML root tag forEPPFeeTransfer
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EPPFeeTransfer
public EPPFeeTransfer()
Default constructor forEPPFeeTransfer
.
-
EPPFeeTransfer
public EPPFeeTransfer(EPPFeeValue aFee)
Constructor forEPPFeeTransfer
that takes a single fee.- Parameters:
aFee
- A single fee value
-
EPPFeeTransfer
public EPPFeeTransfer(EPPFeeValue aFee, java.lang.String aCurrency)
Constructor forEPPFeeTransfer
that takes a single fee and the optional currency.- Parameters:
aFee
- A single fee of the transfer commandaCurrency
- Currency of the fee
-
EPPFeeTransfer
public EPPFeeTransfer(java.util.List<EPPFeeValue> aFees, java.lang.String aCurrency)
Constructor forEPPFeeTransfer
that takes all attributes.- Parameters:
aFees
- List of feesaCurrency
- 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 classEPPFeeTransform
- Returns:
- Local name "transfer" for the transfer extension.
-
getNamespace
public java.lang.String getNamespace()
Returns the XML namespace associated with theEPPCodecComponent
.- Returns:
- XML namespace for the
EPPCodecComponent
.
-
-