Open the Portico Developer Guide site
PosGateway Schema
AttachmentDataType Complex Type
PosGateway Schema : AttachmentDataType Complex Type
Namespace http://Hps.Exchange.PosGateway
Diagram
AttachmentName Element AttachmentFormat Element AttachmentData Element AttachmentType Element All AttachmentDataType Complex Type
Overview
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
Block1 Element
Source
<xs:complexType name="AttachmentDataType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:all>
    <xs:element name="AttachmentType" type="attachmentTypeType">
      <xs:annotation>
        <xs:documentation>
          <p xmlns="http://Hps.Exchange.PosGateway">Identifies the attachment type; see the associated Type enumerations for specific values supported.</p>
        </xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="AttachmentData">
      <xs:annotation>
        <xs:documentation>
          <p xmlns="http://Hps.Exchange.PosGateway">The base64 encoded attachment data.</p>
          <p xmlns="http://Hps.Exchange.PosGateway" />
          <p xmlns="http://Hps.Exchange.PosGateway">
            <strong>Note:</strong> 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.
            </p>
        </xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:maxLength value="600000" />
        </xs:restriction>
      </xs:simpleType>
    </xs:element>
    <xs:element name="AttachmentFormat" type="attachmentFormatType">
      <xs:annotation>
        <xs:documentation>
          <p xmlns="http://Hps.Exchange.PosGateway">Identifies the format of the attachment data; see the associated Type enumerations for specific values supported.</p>
        </xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="AttachmentName" minOccurs="0">
      <xs:annotation>
        <xs:documentation>
          <p xmlns="http://Hps.Exchange.PosGateway">A merchant assigned name for the associated attachment.</p>
        </xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:maxLength value="150" />
        </xs:restriction>
      </xs:simpleType>
    </xs:element>
  </xs:all>
</xs:complexType>
See Also
PosGateway Schema