Fees
The Fees xWeb type (see Schema below) contains a list of one or more Fee types. The Fees is used in several xWeb eCommerce web methods as a way to specify a list of prices. Only four different product types use the Fees object.
Fees Properties
Name | Type | Occurs | Description |
---|---|---|---|
Fee | Fee | 0..* | A Fee element. |
Namespaces
When passing a Fees as a parameter to xWeb web methods, be sure to set the namespace properly.
Important! Parameters that fail to specify proper namespaces will not be interpreted correctly and will result in method faults.
Schema
Here is the Scema for Fees, Fee and FeeAction:
<s:complexType name="Fees">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="Fee" nillable="true" type="tns:Fee" />
</s:sequence>
</s:complexType>
<s:complexType name="Fee">
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="prc_key" type="s1:guid" />
<s:element minOccurs="1" maxOccurs="1" name="ivd_key" type="s1:guid" />
<s:element minOccurs="1" maxOccurs="1" name="qty" type="s:int" />
<s:element minOccurs="1" maxOccurs="1" name="overrideamount" type="s:decimal" />
<s:element minOccurs="1" maxOccurs="1" name="action" type="tns:FeeAction" />
</s:sequence>
</s:complexType>
<s:simpleType name="FeeAction">
<s:restriction base="s:string">
<s:enumeration value="Add" />
<s:enumeration value="Remove" />
</s:restriction>
</s:simpleType>
Here is an example of the web method which has a parameter for a Fees type:
<s:element name="WEBCentralizedShoppingCartEventRegistrantSetLineItems">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="oRegistration" type="tns:EventsRegistrantType" />
<s:element minOccurs="0" maxOccurs="1" name="oFeeCollection" type="tns:Fees" />
</s:sequence>
</s:complexType>
</s:element>