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.
<xs:complexTypename="AttachmentDataType"xmlns:xs="http://www.w3.org/2001/XMLSchema"><xs:all><xs:elementname="AttachmentType"type="attachmentTypeType"><xs:annotation><xs:documentation><pxmlns="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:elementname="AttachmentData"><xs:annotation><xs:documentation><pxmlns="http://Hps.Exchange.PosGateway">The base64 encoded attachment data.</p><pxmlns="http://Hps.Exchange.PosGateway"/><pxmlns="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:restrictionbase="xs:string"><xs:maxLengthvalue="600000"/></xs:restriction></xs:simpleType></xs:element><xs:elementname="AttachmentFormat"type="attachmentFormatType"><xs:annotation><xs:documentation><pxmlns="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:elementname="AttachmentName"minOccurs="0"><xs:annotation><xs:documentation><pxmlns="http://Hps.Exchange.PosGateway">A merchant assigned name for the associated attachment.</p></xs:documentation></xs:annotation><xs:simpleType><xs:restrictionbase="xs:string"><xs:maxLengthvalue="150"/></xs:restriction></xs:simpleType></xs:element></xs:all></xs:complexType>