Package com.verisign.epp.codec.fee.v1_0
Class EPPFeeRenew
- java.lang.Object
-
- com.verisign.epp.codec.fee.v1_0.EPPFeeTransform
-
- com.verisign.epp.codec.fee.v1_0.EPPFeeRenew
-
- All Implemented Interfaces:
EPPCodecComponent
,java.io.Serializable
,java.lang.Cloneable
public class EPPFeeRenew extends EPPFeeTransform
Fee Renew Extension that enables a client to pass the expected fee for the renew command.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ELM_LOCALNAME
XML local name forEPPFeeRenew
.static java.lang.String
ELM_NAME
XML root tag forEPPFeeRenew
.
-
Constructor Summary
Constructors Constructor Description EPPFeeRenew()
Default constructor forEPPFeeRenew
.EPPFeeRenew(EPPFeeValue aFee)
Constructor forEPPFeeRenew
that takes a single fee.EPPFeeRenew(EPPFeeValue aFee, java.lang.String aCurrency)
Constructor forEPPFeeRenew
that takes a single fee and the optional currency.EPPFeeRenew(java.util.List<EPPFeeValue> aFees, java.lang.String aCurrency)
Constructor forEPPFeeRenew
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 "renew" for the renew 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 forEPPFeeRenew
.- See Also:
- Constant Field Values
-
ELM_NAME
public static final java.lang.String ELM_NAME
XML root tag forEPPFeeRenew
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EPPFeeRenew
public EPPFeeRenew()
Default constructor forEPPFeeRenew
.
-
EPPFeeRenew
public EPPFeeRenew(EPPFeeValue aFee)
Constructor forEPPFeeRenew
that takes a single fee.- Parameters:
aFee
- A single fee value
-
EPPFeeRenew
public EPPFeeRenew(EPPFeeValue aFee, java.lang.String aCurrency)
Constructor forEPPFeeRenew
that takes a single fee and the optional currency.- Parameters:
aFee
- A single fee of the update commandaCurrency
- Currency of the fee
-
EPPFeeRenew
public EPPFeeRenew(java.util.List<EPPFeeValue> aFees, java.lang.String aCurrency)
Constructor forEPPFeeRenew
that takes all attributes.- Parameters:
aFees
- List of feesaCurrency
- Currency of the fees
-
-
Method Detail
-
getLocalName
protected java.lang.String getLocalName()
Returns the local name "renew" for the renew extension.- Specified by:
getLocalName
in classEPPFeeTransform
- Returns:
- Local name "renew" for the renew extension.
-
getNamespace
public java.lang.String getNamespace()
Returns the XML namespace associated with theEPPCodecComponent
.- Returns:
- XML namespace for the
EPPCodecComponent
.
-
-