Open the Portico Developer Guide site
PosGateway Schema
BatchClose Element
PosGateway Schema > PosRequest Element > Ver1.0 Element > Transaction Element : BatchClose Element
Description

BatchClose is used to settle and close the current open batch. If a batch is not open an error will be returned.

Namespace http://Hps.Exchange.PosGateway
Type
Extension of xs:string
Overview
BatchClose Extension of xs:string

BatchClose is used to settle and close the current open batch. If a batch is not open an error will be returned.

deviceId optional xs:int
Attributes
NameTypeUseDefaultFixedDescription
deviceIdxs:intoptional   
Source
<xs:element name="BatchClose" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>
      <p xmlns="http://Hps.Exchange.PosGateway">BatchClose is used to settle and close the current open batch. If a batch is not open an error will be returned.</p>
    </xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:string">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://Hps.Exchange.PosGateway">The DeviceId of the batch to close.</p>
            <p xmlns="http://Hps.Exchange.PosGateway" />
            <p xmlns="http://Hps.Exchange.PosGateway">
              <strong>Note:</strong> If enabled this would be a Device within the same Site provided in the request header. If the batch to close is on the Device indicated in the request header there is no need to send this attribute.
                                </p>
          </xs:documentation>
        </xs:annotation>
        <xs:attribute name="deviceId" type="xs:int" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>
See Also
Transaction ElementVer1.0 ElementPosRequest ElementPosGateway Schema