public class TaxParameterSetModel extends TaxParameterSet<TaxParameterModel> implements XMLMarshallable
tax parameters)
of a charge condition customized in an offer.ChargeConditionModelThe XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="taxParameterSet">
<xs:complexType>
<xs:sequence>
<xs:element ref="taxParameter" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="taxModule" type="TaxationModuleType" use="required"/> <!-- invoicing tax system assigned to this charge representing the pricing for the customer service -->
</xs:complexType>
</xs:element><xs:simpleType name="TaxationModuleType"> <xs:restriction base="xs:string"> <xs:enumeration value="vatTax"/> <xs:enumeration value="usTax"/> </xs:restriction> </xs:simpleType>
TaxParameterSet.TaxModule| Modifier and Type | Field and Description |
|---|---|
static String |
MODEL_NAME |
| Constructor and Description |
|---|
TaxParameterSetModel() |
TaxParameterSetModel(TaxParameterSet.TaxModule module) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(String cData)
Adds character data to the content element.
|
void |
addChild(String tagName,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
getTaxModule, setTaxModulepublic static final String MODEL_NAME
public TaxParameterSetModel()
public TaxParameterSetModel(TaxParameterSet.TaxModule module)
public void addCharacterData(String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void addChild(String tagName, XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object into