Package com.verisign.epp.codec.fee.v1_0
Class EPPFeeCreData
java.lang.Object
com.verisign.epp.codec.fee.v1_0.EPPFeeTransformResult
com.verisign.epp.codec.fee.v1_0.EPPFeeCreData
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
Fee Create Result Extension that enables a server to pass the resulting fee
for the create command.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor forEPPFeeCreData.EPPFeeCreData(String aCurrency, EPPFeeValue aFee) Constructor forEPPFeeCreDatathat takes the required currency parameter along with a single fee.EPPFeeCreData(String aCurrency, List<EPPFeeValue> aFees, List<EPPFeeCredit> aCredits, BigDecimal aBalance, BigDecimal aCreditLimit) Constructor forEPPFeeCreDatathat takes all attributes. -
Method Summary
Modifier and TypeMethodDescriptionprotected StringReturns the local name "creData" for the create data.Returns the XML namespace associated with theEPPCodecComponent.protected voidValidate 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 Details
-
ELM_LOCALNAME
XML local name forEPPFeeCreData.- See Also:
-
ELM_NAME
XML root tag forEPPFeeCreData.- See Also:
-
-
Constructor Details
-
EPPFeeCreData
public EPPFeeCreData()Default constructor forEPPFeeCreData. -
EPPFeeCreData
Constructor forEPPFeeCreDatathat takes the required currency parameter along with a single fee.- Parameters:
aCurrency- Currency of the feeaFee- A single fee value
-
EPPFeeCreData
public EPPFeeCreData(String aCurrency, List<EPPFeeValue> aFees, List<EPPFeeCredit> aCredits, BigDecimal aBalance, BigDecimal aCreditLimit) Constructor forEPPFeeCreDatathat 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 Details
-
getLocalName
Returns the local name "creData" for the create data.- Specified by:
getLocalNamein classEPPFeeTransformResult- Returns:
- Local name "creData" for the create data.
-
validateAttributes
Validate the set of attributes onencode.- Specified by:
validateAttributesin classEPPFeeTransformResult- Throws:
EPPEncodeException- When an attribute is incorrect set or not set.
-
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Returns:
- XML namespace for the
EPPCodecComponent.
-