ApiCreateFacturaRectificativaCliente
extends ApiController
Table of Contents
Constants
-
API_VERSION
= 3
-
INCIDENT_EXPIRATION_TIME
= 600
-
IP_LIST
= 'api-ip-list'
-
MAX_INCIDENT_COUNT
= 5
Properties
-
$apiKey
: ApiKey
-
$request
: Request
-
$response
: Response
-
$url
: string
Methods
-
__construct()
: mixed
-
getPageData()
: array<string|int, mixed>
-
run()
: void
-
db()
: DataBase
-
getUriParam()
: string
-
newRefundAction()
: FacturaCliente|null
-
runResource()
: void
-
sendError()
: void
API_VERSION
public
mixed
API_VERSION
= 3
INCIDENT_EXPIRATION_TIME
public
mixed
INCIDENT_EXPIRATION_TIME
= 600
IP_LIST
public
mixed
IP_LIST
= 'api-ip-list'
MAX_INCIDENT_COUNT
public
mixed
MAX_INCIDENT_COUNT
= 5
$apiKey
protected
ApiKey
$apiKey
$request
protected
Request
$request
$response
protected
Response
$response
$url
protected
string
$url
__construct()
public
__construct(string $className[, string $url = '' ]) : mixed
Parameters
-
$className
: string
-
-
$url
: string
= ''
-
getPageData()
public
getPageData() : array<string|int, mixed>
Return values
array<string|int, mixed>
run()
public
run() : void
db()
protected
db() : DataBase
getUriParam()
protected
getUriParam(string $num) : string
Parameters
-
$num
: string
-
newRefundAction()
protected
newRefundAction() : FacturaCliente|null
runResource()
protected
runResource() : void
sendError()
private
sendError(string $message, int $http_code) : void
Parameters
-
$message
: string
-
-
$http_code
: int
-