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