public static function get(string $attachmentPublicUuid, array $customHeaders = []): BunqResponseAttachmentPublic
    {
        $apiClient = new ApiClient(static::getApiContext());
        $responseRaw = $apiClient->get(
            vsprintf(
                self::ENDPOINT_URL_READ,
                [$attachmentPublicUuid]
            ),
            [],
            $customHeaders
        );

        return BunqResponseAttachmentPublic::castFromBunqResponse(
            static::fromJson($responseRaw, self::OBJECT_TYPE_GET)
        );
    }
public static function get(string $attachmentPublicUuid, array $customHeaders = []): BunqResponseAttachmentPublic
    {
        $apiClient = new ApiClient(static::getApiContext());
        $responseRaw = $apiClient->get(
            vsprintf(
                self::ENDPOINT_URL_READ,
                [$attachmentPublicUuid]
            ),
            [],
            $customHeaders
        );

        return BunqResponseAttachmentPublic::castFromBunqResponse(
            static::fromJson($responseRaw, self::OBJECT_TYPE_GET)
        );
    }
public static function get ( string $ attachmentPublicUuid , array $ customHeaders = [ ] ) : BunqResponseAttachmentPublic { $ apiClient = new ApiClient ( static :: getApiContext ( ) ) ; $ responseRaw = $ apiClient -> get ( vsprintf ( self :: ENDPOINT_URL_READ , [ $ attachmentPublicUuid ] ) , [ ] , $ customHeaders ) ; return BunqResponseAttachmentPublic :: castFromBunqResponse ( static :: fromJson ( $ responseRaw , self :: OBJECT_TYPE_GET ) ) ; }
Get a specific attachment's metadata through its UUID. The Content-Type
header of the response will describe the MIME type of the attachment
file.

@param string $attachmentPublicUuid
@param string[] $customHeaders

@return BunqResponseAttachmentPublic
Get a specific attachment s metadata through its UUID . The Content - Type header of the response will describe the MIME type of the attachment file .