Open the Portico Developer Guide site
PosGateway Schema
PosAddAttachmentReqType Complex Type
PosGateway Schema : PosAddAttachmentReqType Complex Type
Namespace http://Hps.Exchange.PosGateway
Diagram
Block1 Element GatewayTxnId Element Sequence PosAddAttachmentReqType Complex Type
Overview
Sequence
GatewayTxnId txnIdType Simple Type

Gateway-generated transaction identifier returned in the response of the original transaction. This indicates the transaction to be updated.

Block1 1..5 AttachmentDataType Complex Type

This list will contain one to five sets of attachment data.

All
AttachmentType attachmentTypeType Simple Type

Identifies the attachment type; see the associated Type enumerations for specific values supported.

AttachmentData Restriction of xs:string

The base64 encoded attachment data.

Note: The code limits the maximum size beyond the limit in the schema. The maximum document and image data size allowed is 300K which includes the encoding overhead.

AttachmentFormat attachmentFormatType Simple Type

Identifies the format of the attachment data; see the associated Type enumerations for specific values supported.

AttachmentName optional Restriction of xs:string

A merchant assigned name for the associated attachment.

Used By
AddAttachment Element
Source
<xs:complexType name="PosAddAttachmentReqType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:sequence>
    <xs:element name="GatewayTxnId" type="txnIdType">
      <xs:annotation>
        <xs:documentation>
          <p xmlns="http://Hps.Exchange.PosGateway">Gateway-generated transaction identifier returned in the response of the original transaction. This indicates the transaction to be updated.</p>
        </xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="Block1" type="AttachmentDataType" maxOccurs="5">
      <xs:annotation>
        <xs:documentation>
          <p xmlns="http://Hps.Exchange.PosGateway">This list will contain one to five sets of attachment data.</p>
        </xs:documentation>
      </xs:annotation>
    </xs:element>
  </xs:sequence>
</xs:complexType>
See Also
PosGateway Schema