public class EPPFeeTrnData extends EPPFeeTransformResult
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPFeeTrnData. |
static java.lang.String |
ELM_NAME
XML root tag for
EPPFeeTrnData. |
| Constructor and Description |
|---|
EPPFeeTrnData()
Default constructor for
EPPFeeTrnData. |
EPPFeeTrnData(java.lang.String aCurrency,
EPPFeePeriod aPeriod,
java.util.List<EPPFeeValue> aFees,
java.util.List<EPPFeeCredit> aCredits)
Constructor for
EPPFeeTrnData that takes all transfer query
response attributes. |
EPPFeeTrnData(java.lang.String aCurrency,
EPPFeeValue aFee)
Constructor for
EPPFeeTrnData that takes the required
currency parameter along with a single fee. |
EPPFeeTrnData(java.lang.String aCurrency,
java.util.List<EPPFeeValue> aFees)
Constructor for
EPPFeeTrnData that takes all transfer request
response attributes. |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getLocalName()
Returns the local name "trnData" for the transfer data.
|
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent. |
protected void |
validateAttributes()
Validate the set of attributes on
encode. |
addCredit, addFee, clone, decode, encode, equals, getBalance, getCreditLimit, getCredits, getCurrency, getFees, getPeriod, hasBalance, hasCreditLimit, hasCredits, hasCurrency, hasFees, hasPeriod, setBalance, setCreditLimit, setCredits, setCurrency, setFees, setPeriod, toStringpublic static final java.lang.String ELM_LOCALNAME
EPPFeeTrnData.public static final java.lang.String ELM_NAME
EPPFeeTrnData.public EPPFeeTrnData()
EPPFeeTrnData.public EPPFeeTrnData(java.lang.String aCurrency,
EPPFeeValue aFee)
EPPFeeTrnData that takes the required
currency parameter along with a single fee.aCurrency - Currency of the feeaFee - A single fee valuepublic EPPFeeTrnData(java.lang.String aCurrency,
java.util.List<EPPFeeValue> aFees)
EPPFeeTrnData that takes all transfer request
response attributes.aCurrency - Currency of the feeaFees - List of feespublic EPPFeeTrnData(java.lang.String aCurrency,
EPPFeePeriod aPeriod,
java.util.List<EPPFeeValue> aFees,
java.util.List<EPPFeeCredit> aCredits)
EPPFeeTrnData that takes all transfer query
response attributes.aCurrency - Currency of the feeaPeriod - Transfer period of transfer requestaFees - List of feesaCredits - The credits to set. Set to null for no credits.protected java.lang.String getLocalName()
getLocalName in class EPPFeeTransformResultprotected void validateAttributes()
throws EPPEncodeException
encode.validateAttributes in class EPPFeeTransformResultEPPEncodeException - When an attribute is incorrect set or not set.public java.lang.String getNamespace()
EPPCodecComponent.EPPCodecComponent.