Metadata
public struct Metadata
The metadata contains any custom information regarding the upload (used later for reporting), creating HTTP headers with an specific format.
-
The document metadata initializer with the branch ID (i.e: the BLZ of a Bank in Germany) and additional headers.
Declaration
Swift
public init(branchId: String? = nil, additionalHeaders: [String : String]? = nil)
Parameters
branchId
The branch id (i.e: the BLZ of a Bank in Germany)
additionalHeaders
Additional headers for the metadata. i.e: [“customerId”:“123456”]