public static function listing(int $draftShareInviteBankId, array $customHeaders = []): BunqResponseString
    {
        $apiClient = new ApiClient(static::getApiContext());
        $responseRaw = $apiClient->get(
            vsprintf(
                self::ENDPOINT_URL_LISTING,
                [static::determineUserId(), $draftShareInviteBankId]
            ),
            [],
            $customHeaders
        );

        return BunqResponseString::castFromBunqResponse(
            new BunqResponse($responseRaw->getBodyString(), $responseRaw->getHeaders())
        );
    }
public static function listing(int $draftShareInviteBankId, array $customHeaders = []): BunqResponseString
    {
        $apiClient = new ApiClient(static::getApiContext());
        $responseRaw = $apiClient->get(
            vsprintf(
                self::ENDPOINT_URL_LISTING,
                [static::determineUserId(), $draftShareInviteBankId]
            ),
            [],
            $customHeaders
        );

        return BunqResponseString::castFromBunqResponse(
            new BunqResponse($responseRaw->getBodyString(), $responseRaw->getHeaders())
        );
    }
public static function listing ( int $ draftShareInviteBankId , array $ customHeaders = [ ] ) : BunqResponseString { $ apiClient = new ApiClient ( static :: getApiContext ( ) ) ; $ responseRaw = $ apiClient -> get ( vsprintf ( self :: ENDPOINT_URL_LISTING , [ static :: determineUserId ( ) , $ draftShareInviteBankId ] ) , [ ] , $ customHeaders ) ; return BunqResponseString :: castFromBunqResponse ( new BunqResponse ( $ responseRaw -> getBodyString ( ) , $ responseRaw -> getHeaders ( ) ) ) ; }
Returns the raw content of the QR code that links to this draft share
invite. The raw content is the binary representation of a file, without
any JSON wrapping.

This method is called "listing" because "list" is a restricted PHP word
and cannot be used as constants, class names, function or method names.

@param int $draftShareInviteBankId
@param string[] $customHeaders

@return BunqResponseString
Returns the raw content of the QR code that links to this draft share invite . The raw content is the binary representation of a file without any JSON wrapping .