Package com.verisign.epp.codec.fee.v1_0
Class EPPFeeTrnData
java.lang.Object
com.verisign.epp.codec.fee.v1_0.EPPFeeTransformResult
com.verisign.epp.codec.fee.v1_0.EPPFeeTrnData
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
Fee Transfer Result Extension that enables a server to pass the resulting fee
for the transfer command.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor forEPPFeeTrnData.EPPFeeTrnData(String aCurrency, EPPFeePeriod aPeriod, List<EPPFeeValue> aFees, List<EPPFeeCredit> aCredits) Constructor forEPPFeeTrnDatathat takes all transfer query response attributes.EPPFeeTrnData(String aCurrency, EPPFeeValue aFee) Constructor forEPPFeeTrnDatathat takes the required currency parameter along with a single fee.EPPFeeTrnData(String aCurrency, List<EPPFeeValue> aFees) Constructor forEPPFeeTrnDatathat takes all transfer request response attributes. -
Method Summary
Modifier and TypeMethodDescriptionprotected StringReturns the local name "trnData" for the transfer 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 forEPPFeeTrnData.- See Also:
-
ELM_NAME
XML root tag forEPPFeeTrnData.- See Also:
-
-
Constructor Details
-
EPPFeeTrnData
public EPPFeeTrnData()Default constructor forEPPFeeTrnData. -
EPPFeeTrnData
Constructor forEPPFeeTrnDatathat takes the required currency parameter along with a single fee.- Parameters:
aCurrency- Currency of the feeaFee- A single fee value
-
EPPFeeTrnData
Constructor forEPPFeeTrnDatathat takes all transfer request response attributes.- Parameters:
aCurrency- Currency of the feeaFees- List of fees
-
EPPFeeTrnData
public EPPFeeTrnData(String aCurrency, EPPFeePeriod aPeriod, List<EPPFeeValue> aFees, List<EPPFeeCredit> aCredits) Constructor forEPPFeeTrnDatathat takes all transfer query response attributes.- Parameters:
aCurrency- Currency of the feeaPeriod- Transfer period of transfer requestaFees- List of feesaCredits- The credits to set. Set tonullfor no credits.
-
-
Method Details
-
getLocalName
Returns the local name "trnData" for the transfer data.- Specified by:
getLocalNamein classEPPFeeTransformResult- Returns:
- Local name "trnData" for the transfer 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.
-