UFN_GIFTFEEPAYMENTMETHOD_PAYMENTMETHODCODE_GETDESCRIPTION

Return

Return Type
nvarchar(14)

Parameters

Parameter Parameter Type Mode Description
@ID tinyint IN

Definition

Copy
/*
Generated by Blackbaud AppFx Platform
Date:  8/2/2010 7:06:25 PM
Assembly Version:  Blackbaud.AppFx.Platform.SqlClr, Version=2.7.1654.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_GIFTFEEPAYMENTMETHOD_PAYMENTMETHODCODE_GETDESCRIPTION(@ID tinyint)
RETURNS nvarchar(14) WITH EXECUTE AS CALLER
AS
begin

    return case @ID
        when 0 then 'Cash'
        when 1 then 'Check'
        when 2 then 'Credit card'
        when 3 then 'Direct debit'
        when 4 then 'Stock'
        when 5 then 'Property'
        when 6 then 'Gift-in-kind'
        when 8 then 'Sold property'
        when 9 then 'None'
        when 10 then 'Other'
        when 11 then 'Standing order'    
    end

end