/home/kueuepay/public_html/vendor/egulias/email-validator/src/Validation/DNSRecords.php
<?php

namespace Egulias\EmailValidator\Validation;

class DNSRecords
{
    
    /**
     * @var array $records
     */
    private $records = [];

    /**
     * @var bool $error
     */
    private $error = false;

    public function __construct(array $records, bool $error = false)
    {
        $this->records = $records;
        $this->error = $error;
    }

    public function getRecords() : array
    {
        return $this->records;
    }

    public function withError() : bool
    {
        return $this->error;
    }


}
Response Code

Response Codes

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.