Package com.verisign.epp.codec.fee.v1_0
Class EPPFeeCreate
- java.lang.Object
-
- com.verisign.epp.codec.fee.v1_0.EPPFeeTransform
-
- com.verisign.epp.codec.fee.v1_0.EPPFeeCreate
-
- All Implemented Interfaces:
EPPCodecComponent,java.io.Serializable,java.lang.Cloneable
public class EPPFeeCreate extends EPPFeeTransform
Fee Create Extension that enables a client to pass the expected fee for the create command.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringELM_LOCALNAMEXML local name forEPPFeeCreate.static java.lang.StringELM_NAMEXML root tag forEPPFeeCreate.
-
Constructor Summary
Constructors Constructor Description EPPFeeCreate()Default constructor forEPPFeeCreate.EPPFeeCreate(EPPFeeValue aFee)Constructor forEPPFeeCreatethat takes a single fee.EPPFeeCreate(EPPFeeValue aFee, java.lang.String aCurrency)Constructor forEPPFeeCreatethat takes a single fee and the optional currency.EPPFeeCreate(java.util.List<EPPFeeValue> aFees, java.lang.String aCurrency)Constructor forEPPFeeCreatethat takes all attributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetLocalName()Returns the local name "create" for the create extension.java.lang.StringgetNamespace()Returns the XML namespace associated with theEPPCodecComponent.-
Methods inherited from class com.verisign.epp.codec.fee.v1_0.EPPFeeTransform
addFee, clone, decode, encode, equals, getCurrency, getFees, hasCurrency, hasFees, setCurrency, setFees, toString
-
-
-
-
Field Detail
-
ELM_LOCALNAME
public static final java.lang.String ELM_LOCALNAME
XML local name forEPPFeeCreate.- See Also:
- Constant Field Values
-
ELM_NAME
public static final java.lang.String ELM_NAME
XML root tag forEPPFeeCreate.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EPPFeeCreate
public EPPFeeCreate()
Default constructor forEPPFeeCreate.
-
EPPFeeCreate
public EPPFeeCreate(EPPFeeValue aFee)
Constructor forEPPFeeCreatethat takes a single fee.- Parameters:
aFee- A single fee value
-
EPPFeeCreate
public EPPFeeCreate(EPPFeeValue aFee, java.lang.String aCurrency)
Constructor forEPPFeeCreatethat takes a single fee and the optional currency.- Parameters:
aFee- A single fee of the create commandaCurrency- Currency of the fee
-
EPPFeeCreate
public EPPFeeCreate(java.util.List<EPPFeeValue> aFees, java.lang.String aCurrency)
Constructor forEPPFeeCreatethat takes all attributes.- Parameters:
aFees- List of feesaCurrency- Currency of the fees
-
-
Method Detail
-
getLocalName
protected java.lang.String getLocalName()
Returns the local name "create" for the create extension.- Specified by:
getLocalNamein classEPPFeeTransform- Returns:
- Local name "create" for the create extension.
-
getNamespace
public java.lang.String getNamespace()
Returns the XML namespace associated with theEPPCodecComponent.- Returns:
- XML namespace for the
EPPCodecComponent.
-
-