Attachment
in package
FinalYes
A binary attachment to be embedded as base64 in the XRechnung XML (BG-24, EmbeddedDocumentBinaryObject).
The kit base64-encodes the bytes at emission; the consumer passes raw binary. The size cap is enforced by the consumer (MappingData itself does not impose a hard ceiling, since "reasonable size" depends on the recipient portal); the kit documents recommended limits in docs/mapping-data.md.
Table of Contents
Properties
- $bytes : string
- $description : string|null
- $filename : string
- $mimeType : string
Methods
- __construct() : mixed
Properties
$bytes read-only
public
string
$bytes
$description read-only
public
string|null
$description
= null
$filename read-only
public
string
$filename
$mimeType read-only
public
string
$mimeType
Methods
__construct()
public
__construct(string $filename, string $mimeType, string $bytes[, string|null $description = null ]) : mixed
Parameters
- $filename : string
- $mimeType : string
- $bytes : string
- $description : string|null = null