public static function get($country)
    {
        switch (strtoupper($country)) {
        case "DE":
            return KlarnaEncoding::PNO_DE;
        case "DK":
            return KlarnaEncoding::PNO_DK;
        case "FI":
            return KlarnaEncoding::PNO_FI;
        case "NL":
            return KlarnaEncoding::PNO_NL;
        case "NO":
            return KlarnaEncoding::PNO_NO;
        case "SE":
            return KlarnaEncoding::PNO_SE;
        case "AT":
            return KlarnaEncoding::PNO_AT;
        default:
            return -1;
        }
    }
public static function get($country)
    {
        switch (strtoupper($country)) {
        case "DE":
            return KlarnaEncoding::PNO_DE;
        case "DK":
            return KlarnaEncoding::PNO_DK;
        case "FI":
            return KlarnaEncoding::PNO_FI;
        case "NL":
            return KlarnaEncoding::PNO_NL;
        case "NO":
            return KlarnaEncoding::PNO_NO;
        case "SE":
            return KlarnaEncoding::PNO_SE;
        case "AT":
            return KlarnaEncoding::PNO_AT;
        default:
            return -1;
        }
    }
public static function get ( $ country ) { switch ( strtoupper ( $ country ) ) { case "DE" : return KlarnaEncoding :: PNO_DE ; case "DK" : return KlarnaEncoding :: PNO_DK ; case "FI" : return KlarnaEncoding :: PNO_FI ; case "NL" : return KlarnaEncoding :: PNO_NL ; case "NO" : return KlarnaEncoding :: PNO_NO ; case "SE" : return KlarnaEncoding :: PNO_SE ; case "AT" : return KlarnaEncoding :: PNO_AT ; default : return - 1 ; } }
Returns the constant for the wanted country.

@param string $country country

@return int
Returns the constant for the wanted country .