%PDF- %GIF98; %PNG;
Server : ApacheSystem : Linux host.digitalbabaji.in 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64 User : addictionfreeind ( 1003) PHP Version : 7.2.34 Disable Function : exec,passthru,shell_exec,system Directory : /home/addictionfreeind/public_html/admin1/vendor/square/square/src/Models/ |
Upload File : |
<?php
declare(strict_types=1);
namespace Square\Models;
/**
* Indicates which high-level category of error has occurred during a
* request to the Connect API.
*/
class ErrorCategory
{
/**
* An error occurred with the Connect API itself.
*/
public const API_ERROR = 'API_ERROR';
/**
* An authentication error occurred. Most commonly, the request had
* a missing, malformed, or otherwise invalid `Authorization` header.
*/
public const AUTHENTICATION_ERROR = 'AUTHENTICATION_ERROR';
/**
* The request was invalid. Most commonly, a required parameter was
* missing, or a provided parameter had an invalid value.
*/
public const INVALID_REQUEST_ERROR = 'INVALID_REQUEST_ERROR';
/**
* Your application reached the Connect API rate limit. Retry your
* request after a while.
*/
public const RATE_LIMIT_ERROR = 'RATE_LIMIT_ERROR';
/**
* An error occurred while processing a payment method. Most commonly,
* the details of the payment method were invalid (such as a card's CVV
* or expiration date).
*/
public const PAYMENT_METHOD_ERROR = 'PAYMENT_METHOD_ERROR';
/**
* An error occurred while attempting to process a refund.
*/
public const REFUND_ERROR = 'REFUND_ERROR';
/**
* An error occurred when checking a merchant subscription status
*/
public const MERCHANT_SUBSCRIPTION_ERROR = 'MERCHANT_SUBSCRIPTION_ERROR';
}