Метод позволяет удалить посылки с указанными номерами накладных.
see
|
|
package
|
Dumkaaa\Boxberry\Api\C2C\Message\Request
|
Methods
__construct
__construct(\Dumkaaa\Boxberry\Api\Common\Http\Client $httpClient, \Symfony\Component\HttpFoundation\Request $httpRequest)
inherited
Arguments
$httpRequest
\Symfony\Component\HttpFoundation\Request
Возвращает содержимое запроса
getData() : array|mixed
inherited
getEndPoint
getEndPoint() : string
inherited
getHttpMethod
getHttpMethod() : string
inherited
Возвращает метод api boxberry
getMethod() : string
inherited abstract
Возвращает параметр запроса
getParameter(string $key) : mixed
inherited
Arguments
$key
string
The parameter key
Response
mixed
Возвращает все параметры запроса
getParameters() : array
inherited
Возвращает поодготовленные к отправке параметры запроса
getPreparedData() : array
inherited
Возвращает полученный ответ
getResponse() : \Dumkaaa\Boxberry\Api\Common\Message\ResponseInterface
inherited
Возвращает токен api boxberry
getToken() : string
inherited abstract
Возвращает правила валидации
getValidationRules() : array
inherited
|
|
Throws |
- \Symfony\Component\Validator\Exception\MissingOptionsException
- \Symfony\Component\Validator\Exception\InvalidOptionsException
- \Symfony\Component\Validator\Exception\ConstraintDefinitionException
|
Response
array
Инициализация параметров запроса
initialize(array $parameters = array()) : $this
inherited
inheritdoc
|
|
|
|
|
|
Throws |
- \Dumkaaa\Boxberry\Api\Common\Exception\RuntimeException
|
Arguments
Response
$this
Отправка запроса
send() : \Dumkaaa\Boxberry\Api\Common\Message\ResponseInterface
inherited
send
send() : \Dumkaaa\Boxberry\Api\C2C\Message\Response\DeleteParcelsResponse
Response
\Dumkaaa\Boxberry\Api\C2C\Message\Response\DeleteParcelsResponse
sendData
sendData( $data)
inherited
inheritdoc
|
|
|
|
|
|
Throws |
- \Dumkaaa\Boxberry\Api\Common\Exception\RuntimeException
- \ReflectionException
|
Arguments
setEndPoint
setEndPoint( $endPoint) : \Dumkaaa\Boxberry\Api\Common\Message\Request\AbstractRequest
inherited
Устанавливает параметр запроса
setParameter( $key, $value) : $this
inherited
Throws |
- \Dumkaaa\Boxberry\Api\Common\Exception\RuntimeException
|
Arguments
Response
$this
setParcels
setParcels(array<mixed,string> $parcels) : $this
Arguments
$parcels
array<mixed,string>
Номера ЭН
Response
$this
setToken
setToken( $token)
inherited abstract
Валидация параметров запроса
validateData()
inherited
|
|
|
|
Throws |
- \Symfony\Component\Validator\Exception\MissingOptionsException
- \Symfony\Component\Validator\Exception\InvalidOptionsException
- \Symfony\Component\Validator\Exception\ConstraintDefinitionException
|
Properties
Параметры запроса
parameters : \Symfony\Component\HttpFoundation\ParameterBag
inherited
Type(s)
\Symfony\Component\HttpFoundation\ParameterBag
Валидатор параметров запроса
validator : \Symfony\Component\Validator\Validator\ValidatorInterface
inherited
Type(s)
\Symfony\Component\Validator\Validator\ValidatorInterface
HttpClient, отправляющий запросы
httpClient : \Dumkaaa\Boxberry\Api\Common\Http\Client
inherited
HTTP запрос
httpRequest : \Symfony\Component\HttpFoundation\Request
inherited
Type(s)
\Symfony\Component\HttpFoundation\Request
Полученный ответ
response : \Dumkaaa\Boxberry\Api\Common\Message\ResponseInterface
inherited