Package com.verisign.epp.codec.fee.v1_0
Class EPPFeeUpdData
- java.lang.Object
-
- com.verisign.epp.codec.fee.v1_0.EPPFeeTransformResult
-
- com.verisign.epp.codec.fee.v1_0.EPPFeeUpdData
-
- All Implemented Interfaces:
EPPCodecComponent,java.io.Serializable,java.lang.Cloneable
public class EPPFeeUpdData extends EPPFeeTransformResult
Fee Update Result Extension that enables a server to pass the resulting fee for the update command.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringELM_LOCALNAMEXML local name forEPPFeeUpdData.static java.lang.StringELM_NAMEXML root tag forEPPFeeUpdData.
-
Constructor Summary
Constructors Constructor Description EPPFeeUpdData()Default constructor forEPPFeeUpdData.EPPFeeUpdData(java.lang.String aCurrency, EPPFeeValue aFee)Constructor forEPPFeeUpdDatathat takes the required currency parameter along with a single fee.EPPFeeUpdData(java.lang.String aCurrency, java.util.List<EPPFeeValue> aFees, java.util.List<EPPFeeCredit> aCredits, java.math.BigDecimal aBalance, java.math.BigDecimal aCreditLimit)Constructor forEPPFeeUpdDatathat takes all attributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetLocalName()Returns the local name "updData" for the update data.java.lang.StringgetNamespace()Returns the XML namespace associated with theEPPCodecComponent.protected voidvalidateAttributes()Validate the set of attributes onencode.-
Methods inherited from class com.verisign.epp.codec.fee.v1_0.EPPFeeTransformResult
addCredit, addFee, clone, decode, encode, equals, getBalance, getCreditLimit, getCredits, getCurrency, getFees, getPeriod, hasBalance, hasCreditLimit, hasCredits, hasCurrency, hasFees, hasPeriod, setBalance, setCreditLimit, setCredits, setCurrency, setFees, setPeriod, toString
-
-
-
-
Field Detail
-
ELM_LOCALNAME
public static final java.lang.String ELM_LOCALNAME
XML local name forEPPFeeUpdData.- See Also:
- Constant Field Values
-
ELM_NAME
public static final java.lang.String ELM_NAME
XML root tag forEPPFeeUpdData.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EPPFeeUpdData
public EPPFeeUpdData()
Default constructor forEPPFeeUpdData.
-
EPPFeeUpdData
public EPPFeeUpdData(java.lang.String aCurrency, EPPFeeValue aFee)Constructor forEPPFeeUpdDatathat takes the required currency parameter along with a single fee.- Parameters:
aCurrency- Currency of the feeaFee- A single fee value
-
EPPFeeUpdData
public EPPFeeUpdData(java.lang.String aCurrency, java.util.List<EPPFeeValue> aFees, java.util.List<EPPFeeCredit> aCredits, java.math.BigDecimal aBalance, java.math.BigDecimal aCreditLimit)Constructor forEPPFeeUpdDatathat takes all attributes.- Parameters:
aCurrency- Currency of the feeaFees- List of feesaCredits- OPTIONAL list of credits. Set tonullto specify no credits.aBalance- Available balance for clientaCreditLimit- Maximum credit for client.
-
-
Method Detail
-
getLocalName
protected java.lang.String getLocalName()
Returns the local name "updData" for the update data.- Specified by:
getLocalNamein classEPPFeeTransformResult- Returns:
- Local name "updData" for the update data.
-
validateAttributes
protected void validateAttributes() throws EPPEncodeExceptionValidate the set of attributes onencode.- Specified by:
validateAttributesin classEPPFeeTransformResult- Throws:
EPPEncodeException- When an attribute is incorrect set or not set.
-
getNamespace
public java.lang.String getNamespace()
Returns the XML namespace associated with theEPPCodecComponent.- Returns:
- XML namespace for the
EPPCodecComponent.
-
-