<?php
namespace Faker\Provider\nb_NO;
class PhoneNumber extends \Faker\Provider\PhoneNumber
{
/**
* @var array Norwegian phone number formats
*/
protected static $formats = [
'+47#########',
'+47 ## ## ## ##',
'## ## ## ##',
'## ## ## ##',
'########',
'########',
'9## ## ###',
'4## ## ###',
'9#######',
'4#######',
];
/**
* @var array Norweign mobile number formats
*/
protected static $mobileFormats = [
'+474#######',
'+479#######',
'9## ## ###',
'4## ## ###',
'9#######',
'4#######',
];
public function mobileNumber()
{
$format = static::randomElement(static::$mobileFormats);
return self::numerify($this->generator->parse($format));
}
}
Kueue Pay API responses include standard HTTP status codes to indicate the success or failure of a request. Successful responses will have a status code of 200 OK, while various error conditions will be represented by different status codes along with error messages in the response body.