public static function get(int $monetaryAccountBankId, array $customHeaders = []): BunqResponseMonetaryAccountBank
    {
        $apiClient = new ApiClient(static::getApiContext());
        $responseRaw = $apiClient->get(
            vsprintf(
                self::ENDPOINT_URL_READ,
                [static::determineUserId(), $monetaryAccountBankId]
            ),
            [],
            $customHeaders
        );

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

        return BunqResponseMonetaryAccountBank::castFromBunqResponse(
            static::fromJson($responseRaw, self::OBJECT_TYPE_GET)
        );
    }
public static function get ( int $ monetaryAccountBankId , array $ customHeaders = [ ] ) : BunqResponseMonetaryAccountBank { $ apiClient = new ApiClient ( static :: getApiContext ( ) ) ; $ responseRaw = $ apiClient -> get ( vsprintf ( self :: ENDPOINT_URL_READ , [ static :: determineUserId ( ) , $ monetaryAccountBankId ] ) , [ ] , $ customHeaders ) ; return BunqResponseMonetaryAccountBank :: castFromBunqResponse ( static :: fromJson ( $ responseRaw , self :: OBJECT_TYPE_GET ) ) ; }
Get a specific MonetaryAccountBank.

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

@return BunqResponseMonetaryAccountBank
Get a specific MonetaryAccountBank .