33 lines
801 B
PHP
33 lines
801 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
// default responses
|
||
|
|
const GATEWAYS_DEFAULT_200 = [
|
||
|
|
'response_code' => 'gateways_default_200',
|
||
|
|
'message' => 'successfully loaded',
|
||
|
|
];
|
||
|
|
|
||
|
|
const GATEWAYS_DEFAULT_204 = [
|
||
|
|
'response_code' => 'gateways_default_204',
|
||
|
|
'message' => 'information not found',
|
||
|
|
];
|
||
|
|
|
||
|
|
const GATEWAYS_DEFAULT_400 = [
|
||
|
|
'response_code' => 'gateways_default_400',
|
||
|
|
'message' => 'invalid or missing information',
|
||
|
|
];
|
||
|
|
|
||
|
|
const GATEWAYS_DEFAULT_404 = [
|
||
|
|
'response_code' => 'gateways_default_404',
|
||
|
|
'message' => 'resource not found',
|
||
|
|
];
|
||
|
|
|
||
|
|
const GATEWAYS_DEFAULT_UPDATE_200 = [
|
||
|
|
'response_code' => 'gateways_default_update_200',
|
||
|
|
'message' => 'successfully updated',
|
||
|
|
];
|
||
|
|
|
||
|
|
const GATEWAYS_STATUS_UPDATE_FAIL = [
|
||
|
|
'response_code' => 'gateways_default_update_200',
|
||
|
|
'message' => 'status update failed',
|
||
|
|
];
|