ListPackagesResponse

Extends \Dumkaaa\Boxberry\Api\C2C\Message\Response\AbstractResponse

Class ListPackagesResponse

see
package

Dumkaaa\Boxberry\Api\C2C\Message\Response

Methods

AbstractResponse constructor.

__construct(\Dumkaaa\Boxberry\Api\Common\Message\RequestInterface $request, mixed $data) 
inherited

Возвращает данные, преобразуя их в коллекцию объектов

getCollection(string $collectionClass = \Dumkaaa\Boxberry\Api\Common\Model\CreateFromAttributesInterface::class) : array<mixed,\Dumkaaa\Boxberry\Api\Common\Model\AbstractModel>|array<mixed,object>
inherited
inheritdoc

Arguments

$collectionClass

string

класс для наполнения им коллекции

Response

array<mixed,\Dumkaaa\Boxberry\Api\Common\Model\AbstractModel>|array<mixed,object>

Возвращает ответ (данные)

getData() : mixed
inherited

Response

mixed

Возвращает ошибки

getError() : null|string
inherited

Response

null|string

Возвращает объект запроса

getRequest() : \Dumkaaa\Boxberry\Api\Common\Message\RequestInterface
inherited

Возвращает статус

getStatus() : null|string
inherited

Response

null|string

Запрос успешен?

isSuccessful() : boolean
inherited

Response

boolean

Properties

Объект запроса

request : \Dumkaaa\Boxberry\Api\Common\Message\RequestInterface
inherited
var

Объект запроса

Type(s)

\Dumkaaa\Boxberry\Api\Common\Message\RequestInterface

Ответ (данные)

data : mixed
inherited
var

Ответ (данные)

Type(s)

mixed