public class EPPFeeUpdData extends EPPFeeTransformResult
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPFeeUpdData . |
static java.lang.String |
ELM_NAME
XML root tag for
EPPFeeUpdData . |
Constructor and Description |
---|
EPPFeeUpdData()
Default constructor for
EPPFeeUpdData . |
EPPFeeUpdData(java.lang.String aCurrency,
EPPFeeValue aFee)
Constructor for
EPPFeeUpdData that 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 for
EPPFeeUpdData that takes all attributes. |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getLocalName()
Returns the local name "updData" for the update 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, toString
public static final java.lang.String ELM_LOCALNAME
EPPFeeUpdData
.public static final java.lang.String ELM_NAME
EPPFeeUpdData
.public EPPFeeUpdData()
EPPFeeUpdData
.public EPPFeeUpdData(java.lang.String aCurrency, EPPFeeValue aFee)
EPPFeeUpdData
that takes the required
currency parameter along with a single fee.aCurrency
- Currency of the feeaFee
- A single fee valuepublic EPPFeeUpdData(java.lang.String aCurrency, java.util.List<EPPFeeValue> aFees, java.util.List<EPPFeeCredit> aCredits, java.math.BigDecimal aBalance, java.math.BigDecimal aCreditLimit)
EPPFeeUpdData
that takes all attributes.aCurrency
- Currency of the feeaFees
- List of feesaCredits
- OPTIONAL list of credits. Set to null
to specify
no credits.aBalance
- Available balance for clientaCreditLimit
- Maximum credit for client.protected java.lang.String getLocalName()
getLocalName
in class EPPFeeTransformResult
protected void validateAttributes() throws EPPEncodeException
encode
.validateAttributes
in class EPPFeeTransformResult
EPPEncodeException
- When an attribute is incorrect set or not set.public java.lang.String getNamespace()
EPPCodecComponent
.EPPCodecComponent
.Copyright © VeriSign Inc. All Rights Reserved.