Open the Portico Developer Guide site
PosGateway Schema
MCLineItemsType Complex Type
PosGateway Schema : MCLineItemsType Complex Type
Namespace http://Hps.Exchange.PosGateway
Diagram
UnitOfMeasure Element ItemTotalAmt Element Quantity Element ProductCode Element ItemDescription Element Sequence MCLineItemsType Complex Type
Overview
Sequence
ItemDescription optional Restriction of xs:string

Description of the good or service being supplied.

ProductCode optional Restriction of xs:string

Identifies the product being purchased, for example, an inventory number or UPC code. A value other than spaces or zeros should be provided.

Quantity Restriction of xs:decimal

The number of units of the product being purchased. Must be numeric and greater than zero.

ItemTotalAmt Restriction of xs:decimal

Contains the total amount of the line item; calculated as unit cost multiplied by quantity, less discount. The total amount must be greater than zero.

UnitOfMeasure optional Restriction of xs:string

Contains the code indicating the unit of measure (gallons, etc.).

Used By
LineItemDetail Element
Source
<xs:complexType name="MCLineItemsType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:sequence>
    <xs:element name="ItemDescription" minOccurs="0">
      <xs:annotation>
        <xs:documentation>
          <p xmlns="http://Hps.Exchange.PosGateway">Description of the good or service being supplied.</p>
        </xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:pattern value="^[a-zA-Z0-9 ]*$" />
          <xs:maxLength value="35" />
        </xs:restriction>
      </xs:simpleType>
    </xs:element>
    <xs:element name="ProductCode" minOccurs="0">
      <xs:annotation>
        <xs:documentation>
          <p xmlns="http://Hps.Exchange.PosGateway">Identifies the product being purchased, for example, an inventory number or UPC code. A value other than spaces or zeros should be provided.</p>
        </xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:pattern value="^[a-zA-Z0-9]*$" />
          <xs:maxLength value="15" />
        </xs:restriction>
      </xs:simpleType>
    </xs:element>
    <xs:element name="Quantity">
      <xs:annotation>
        <xs:documentation>
          <p xmlns="http://Hps.Exchange.PosGateway">The number of units of the product being purchased. Must be numeric and greater than zero.</p>
        </xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:decimal">
          <xs:fractionDigits value="5" />
          <xs:totalDigits value="12" />
          <xs:minExclusive value="0" />
        </xs:restriction>
      </xs:simpleType>
    </xs:element>
    <xs:element name="ItemTotalAmt">
      <xs:annotation>
        <xs:documentation>
          <p xmlns="http://Hps.Exchange.PosGateway">Contains the total amount of the line item; calculated as unit cost multiplied by quantity, less discount. The total amount must be greater than zero.</p>
        </xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:decimal">
          <xs:fractionDigits value="5" />
          <xs:totalDigits value="9" />
        </xs:restriction>
      </xs:simpleType>
    </xs:element>
    <xs:element name="UnitOfMeasure" minOccurs="0">
      <xs:annotation>
        <xs:documentation>
          <p xmlns="http://Hps.Exchange.PosGateway">Contains the code indicating the unit of measure (gallons, etc.).</p>
        </xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:pattern value="^[a-zA-Z0-9]*$" />
          <xs:maxLength value="12" />
        </xs:restriction>
      </xs:simpleType>
    </xs:element>
  </xs:sequence>
</xs:complexType>
See Also
PosGateway Schema